from urllib3 import HTTPConnectionPool

pool = HTTPConnectionPool('del.chinaz.com',  maxsize=1)
r = pool.request('GET',  '/?kw=&p=0&ds%5B%5D=1&ds%5B%5D=2&sort=1&suffix%5B%5D=com&suffix%5B%5D=net&dt=1&date=1&pagesize=30&page=1')
#print r.status,  r.headers['content-type']
print len(r.data)
r = pool.request('GET',  '/?kw=&p=0&ds%5B%5D=1&ds%5B%5D=2&sort=1&suffix%5B%5D=com&suffix%5B%5D=net&dt=1&date=1&pagesize=30&page=2',)
print len(r.data)
r = pool.request('GET',  '/?kw=&p=0&ds%5B%5D=1&ds%5B%5D=2&sort=1&suffix%5B%5D=com&suffix%5B%5D=net&dt=1&date=1&pagesize=30&page=3',)
print pool.num_connections,  pool.num_requests
